a='2018-6-30'

# print (a.split('-')[1]+)

# print (len(a))
def dualdate(a):
    if len(a)<10:
        month='0'+a.split('-')[1]
        pata=a.split('-')
        pata[1]=month
        final='-'.join(pata)
        return (final)
print (dualdate(a))